/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2013-2014 jfinal app. jfapp Group.
 */

define(['adminapp'], function ($app) {
    $app.navactive('game_awards');
    $app.formvalidator({
            'awards.name'       : {
                required : true,
                maxlength: 40
            },
            'awards.state'       : {
                required : true
            },
            'awards.size'       : {
                required : true,
                number : true
            },
            'awards.type'       : {
                required : true
            }
        },
        'dataForm');
});

